# -*- Mode: Makefile -*- 

### This makefile produces an executable for each name in the `ebase'
###  variable using the libraries named in the `LibNames' variable.

# included makefiles need an absolute path
CHOMBO_HOME := $(shell pwd)/../..

makefiles+=lib_test_BoxTools

ebase = testFunction2D testFunction3D

LibNames = BoxTools

include $(CHOMBO_HOME)/mk/Make.test

txt:
	./testFunction2D2d.Linux.64.g++.gfortran.DEBUG.ex > result2D.txt
	./testFunction3D3d.Linux.64.g++.gfortran.DEBUG.ex > result3D.txt

doc:
	xelatex report.tex
	xelatex report.tex

cleaner:
	-rm *.aux
	-rm *.log
	-rm *.pdf
	-rm result2D.txt
	-rm result3D.txt
	make DIM=2 clean
	make DIM=3 clean